Dynomotion

Group: DynoMotion Message: 14446 From: cnc_machines Date: 2/23/2017
Subject: Fault Log

Tom,


I am struggling to get a fault log to work on our factory equipment. All I need is to be able to write out a fault to a text file on the desktop. In a previous post you mentioned that appending to a text file is not supported. I have been trying a work around with little success. 


I noticed there is a file saved in this location: 

C:\KMotion433q\KMotion\Data\LogFile.txt


This seems to log all of the data sent to the console. I was thinking that maybe I can use this rather than writing my faults to a text file on the desktop. This approach seems to have some limitations, would you correct me if I am wrong.


  1. KMotion has to be running for files to be saved in the "LogFile". Normally we only have KMotionCNC opened. For this to work we would need to have KMotion running at all times?
  2. The file is not live - I did a test writing to the console. It appears that the data doesnt enter the log file until after KMotion is closed. At that point it saves everything entered on the console to the log file. Is this correct?
I really need to have a way to inform the operator what is wrong when a machine faults. Could you please help me figure out a way to display machine faults to the operator? Ideally I would have them open the text file saved to the desktop. Do you know if appending a file will be supported in the near future?

Thanks,

Scott



Group: DynoMotion Message: 14447 From: Moray Cuthill Date: 2/23/2017
Subject: Re: Fault Log
Scott,

have a look at the 'address preset' thread from a few days ago, as there is now a test patch to do this.


Moray

On Thu, Feb 23, 2017 at 10:14 PM, cnc_machines@... [DynoMotion] <DynoMotion@yahoogroups.com> wrote:
 

Tom,


I am struggling to get a fault log to work on our factory equipment. All I need is to be able to write out a fault to a text file on the desktop. In a previous post you mentioned that appending to a text file is not supported. I have been trying a work around with little success. 


I noticed there is a file saved in this location: 

C:\KMotion433q\KMotion\Data\ LogFile.txt


This seems to log all of the data sent to the console. I was thinking that maybe I can use this rather than writing my faults to a text file on the desktop. This approach seems to have some limitations, would you correct me if I am wrong.


  1. KMotion has to be running for files to be saved in the "LogFile". Normally we only have KMotionCNC opened. For this to work we would need to have KMotion running at all times?
  2. The file is not live - I did a test writing to the console. It appears that the data doesnt enter the log file until after KMotion is closed. At that point it saves everything entered on the console to the log file. Is this correct?
I really need to have a way to inform the operator what is wrong when a machine faults. Could you please help me figure out a way to display machine faults to the operator? Ideally I would have them open the text file saved to the desktop. Do you know if appending a file will be supported in the near future?

Thanks,

Scott




Group: DynoMotion Message: 14448 From: cnc_machines Date: 2/23/2017
Subject: Re: Fault Log
Moray,

That is awesome, thanks for the information. I will start testing it.

Tom,

Will this be included in the next version, do you know when that will be?

Thanks,

Scott